package http

import (
	pb "kdemo/api"
	"kdemo/internal/server"

	"github.com/gogf/gf/frame/g"
	"github.com/gogf/gf/net/ghttp"
)

// New new a bm server.
func New(s pb.DemoServer) (engine *ghttp.Server, err error) {
	server.RunHttpServer()
	return g.Server(), nil
}
